package com.mingdao.lhy.mapper.signup;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import com.mingdao.lhy.pojo.SignUpStudent;
import com.mingdao.lhy.pojo.signup.SignUpStudent2;

@Mapper
@Repository(value = "signUpStudentMapper2")
public interface SignUpStudentMapper2 {

	List<SignUpStudent2> list();

	List<SignUpStudent2> listByByzxdm(String byzxdm);
	
	List<SignUpStudent2> listAllBmk();

	List<SignUpStudent2> listByDclzt(String dclzt);

	List<SignUpStudent2> listByXsdm(String xsdm);

	SignUpStudent2 getOne(String sfzh);

	SignUpStudent2 getOneXueJi(String sfzh);

	int deleteByPrimaryKey(String sfzh);

	int insert(SignUpStudent2 record);

	int insertSelective(SignUpStudent2 record);

	SignUpStudent2 selectByPrimaryKey(String id);

	int updateByPrimaryKeySelective(SignUpStudent2 record);

	int updateByStudentOldSfzh(SignUpStudent2 record, @Param("oldsfzh") String oldsfzh);

	int updateByStudentSelective(SignUpStudent2 record);

	int updateByPrimaryKey(SignUpStudent2 record);

	int updatePasswordByPrimaryKey(SignUpStudent2 record);

	int updateDclztByPrimaryKey(SignUpStudent2 record);

	SignUpStudent2 getStudentByBmh(String bmh);

	int createBmhBatch(String xsdm);

	int createBmhBySfzh(SignUpStudent2 record);

	List<SignUpStudent2> listByByzxdmAndSfzh(Map<String, String> param);

	List<SignUpStudent2> listByDclztAndSfzh(Map<String, String> param);

	List<SignUpStudent2> listByByzxdmAndCondition(Map<String, String> param);

	List<SignUpStudent> getStudentByDclzt(@Param("param") Map<String, String> param);

	List<SignUpStudent2> getStudentByDclztPage(@Param("param") Map<String, String> param);

	List<SignUpStudent2> getWBMStudent(@Param("param") Map<String, String> param);

	int doSaveStudnet(@Param("student") SignUpStudent2 student);

	int getMaxWbxh();

}